import pymysql
pymysql.version_info = (1,4,0,'final',0) #mysqlclient版本报错
pymysql.install_as_MySQLdb()